home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / win-fort.zip / FWCLOCK < prev    next >
Text File  |  1991-10-30  |  1KB  |  51 lines

  1. all: fwclock.exe
  2.  
  3. # Update the resource if necessary
  4.  
  5. fwclock.res: fwclock.rc fwclock.h
  6.     rc -r fwclock.rc
  7.  
  8. # Update the object files if necessary
  9.  
  10. fwclock.obj: fwclock.for fwclock.fd
  11.     F fwclock
  12. about.obj: about.for fwclock.fd
  13.     F about
  14. drawface.obj: drawface.for fwclock.fd
  15.     F drawface
  16. drawseco.obj: drawseco.for fwclock.fd
  17.     F drawseco
  18. drawhub.obj: drawhub.for fwclock.fd
  19.     F drawhub
  20. drawhour.obj: drawhour.for fwclock.fd
  21.     F drawhour
  22. drawminu.obj: drawminu.for fwclock.fd
  23.     F drawminu
  24. toolup.obj: toolup.for fwclock.fd
  25.     F toolup
  26. downtool.obj: downtool.for fwclock.fd
  27.     F downtool
  28. initfwc.obj: initfwc.for fwclock.fd
  29.     F initfwc
  30. wndproc.obj: wndproc.for fwclock.fd
  31.     F wndproc
  32. digit.obj: digit.for fwclock.fd
  33.     F digit
  34. resize.obj: resize.for fwclock.fd
  35.     F resize
  36. noqwin.obj:
  37.     LIB \FORTRAN\LIB\NOQWIN.LIB *noqwin;
  38.  
  39. # Update the executable file if necessary, and if so, add the resource back in.
  40.  
  41. fwclock.exe:: fwclock.obj noqwin.obj drawseco.obj drawhour.obj drawminu.obj drawhub.obj digit.obj resize.obj about.obj drawface.obj toolup.obj downtool.obj initfwc.obj wndproc.obj fwclock.def fwclock.res
  42.     link @fwclock.lnk
  43.     rc fwclock.res
  44.  
  45. # If the .res file is new and the .exe file is not, update the resource.
  46. # Note that the .rc file can be updated without having to either 
  47. # compile or link the file.
  48.  
  49. fwclock.exe:: fwclock.res fwclock.ico
  50.     rc fwclock.res
  51.